import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '所属公司',
    width: 150,
    dataIndex: 'companyId_dictText',
  },
  {
    title: '收款金额',
    align: "center",
    dataIndex: 'zcOldpay'
  },
  // {
  //   title: '累计欠款',
  //   align: "center",
  //   dataIndex: 'zcLjqk'
  // },
  {
    title: '结算方式',
    align: "center",
    dataIndex: 'zcAction'
  },
  {
    title: '交易方名称',
    align: "center",
    dataIndex: 'zcCompany'
  },
  {
    title: '创建时间',
    align: "center",
    dataIndex: 'zcTime'
  },
  {
    title: '备注',
    align: "center",
    dataIndex: 'zcLittle'
  },
];

// 高级查询数据
export const superQuerySchema = {
  zcOldpay: {title: '收款金额',order: 3,view: 'text', type: 'string',},
  // zcLjqk: {title: '累计欠款',order: 4,view: 'text', type: 'string',},
  zcAction: {title: '结算方式',order: 5,view: 'text', type: 'string',},
  zcCompany: {title: '交易方名称',order: 6,view: 'text', type: 'string',},
  zcTime: {title: '创建时间',order: 7,view: 'text', type: 'string',},
  zcLittle: {title: '备注',order: 8,view: 'text', type: 'string',},
};
